.pic {
  display: flex;
}

.pic>div {
  width: 100%;
}

.pic .my-gallery {
  display: flex;
  flex-wrap: wrap;
}

.pic .my-gallery figure {
  margin: 10px;
  /* flex-wrap: wrap; */
}

.pic .my-gallery figure img {
  width: 100px;
  vertical-align: middle;
}
